﻿using System.Drawing;

namespace OpenChart.Entities
{
    public class StringInfo
    {
        private string _fontFamilyName = "宋体";
        /// <summary>
        /// 字体名称
        /// </summary>
        public string FontFamilyName 
        {
            get { return _fontFamilyName; }
            set { _fontFamilyName = value; }
        }

        private string _value = string.Empty;
        /// <summary>
        /// 字符串
        /// </summary>
        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }

        private int _size = 12;
        /// <summary>
        /// 字体大小
        /// </summary>
        public int Size
        {
            set { _size = value; }
            get { return _size; }
        }

        private Color _color = Color.Black;
        /// <summary>
        /// 字体颜色
        /// </summary>
        public Color Color
        {
            set { _color = value; }
            get { return _color; }
        }
    }
}
